package com.event.system.domain;

/**
 *   CREATE TABLE `sys_event_order` (
 *   `order_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键ID',
 *   `region_id` bigint(20) DEFAULT NULL COMMENT '展会主键区域ID',
 *   `user_id` bigint(20) DEFAULT NULL COMMENT '用户ID',
 *   `order_status` tinyint(4) DEFAULT NULL COMMENT '状态（1：申请中；2：申请通过，3：申请失败）',
 *   `order_remarks` varchar(255) DEFAULT NULL COMMENT '备注',
 *   PRIMARY KEY (`order_id`)
 * ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='预约摊位管理';
 */
public class SysEventOrder {

    /**
     * 预约摊位管理主键ID
     */
    private Long orderId;

    /**
     * 展会主键区域ID
     */
    private Long regionId;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 状态（1：申请中；2：申请通过，3：申请失败）
     */
    private Integer orderStatus;

    /**
     * 备注
     */
    private String orderRemarks;

    /**
     * 摊位总编号
     */
    private String eventNum;

    /**
     * 展会名单名称
     */
    private String eventName;

    /**
     * 展会分类
     */
    private String sortName;

    /**
     * 用户昵称
     */
    private String userName;

    public SysEventOrder() {
    }

    public SysEventOrder(Long orderId, Long regionId, Long userId, Integer orderStatus, String orderRemarks, String eventNum, String eventName, String sortName, String userName) {
        this.orderId = orderId;
        this.regionId = regionId;
        this.userId = userId;
        this.orderStatus = orderStatus;
        this.orderRemarks = orderRemarks;
        this.eventNum = eventNum;
        this.eventName = eventName;
        this.sortName = sortName;
        this.userName = userName;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getRegionId() {
        return regionId;
    }

    public void setRegionId(Long regionId) {
        this.regionId = regionId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getOrderRemarks() {
        return orderRemarks;
    }

    public void setOrderRemarks(String orderRemarks) {
        this.orderRemarks = orderRemarks;
    }

    public String getEventNum() {
        return eventNum;
    }

    public void setEventNum(String eventNum) {
        this.eventNum = eventNum;
    }

    public String getEventName() {
        return eventName;
    }

    public void setEventName(String eventName) {
        this.eventName = eventName;
    }

    public String getSortName() {
        return sortName;
    }

    public void setSortName(String sortName) {
        this.sortName = sortName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        return "SysEventOrder{" +
                "orderId=" + orderId +
                ", regionId=" + regionId +
                ", userId=" + userId +
                ", orderStatus=" + orderStatus +
                ", orderRemarks='" + orderRemarks + '\'' +
                ", eventNum='" + eventNum + '\'' +
                ", eventName='" + eventName + '\'' +
                ", sortName='" + sortName + '\'' +
                ", userName='" + userName + '\'' +
                '}';
    }
}
